The Two Dualities of Computation: Negative and Fractional Types
نویسندگان
چکیده
Every functional programmer knows about sum and product types, a+b and a×b respectively. Negative and fractional types, a−b and a/b respectively, are much less known and their computational interpretation is unfamiliar and often complicated. We show that in a programming model in which information is preserved (such as the model introduced in our recent paper on Information Effects), these types have particularly natural computational interpretations. Intuitively, values of negative types are values that flow “backwards” to satisfy demands and values of fractional types are values that impose constraints on their context. The combination of these negative and fractional types enables greater flexibility in programming by breaking global invariants into local ones that can be autonomously satisfied by a subcomputation. Theoretically, these types give rise to two function spaces and to two notions of continuations, suggesting that the previously observed duality of computation conflated two orthogonal notions: an additive duality that corresponds to backtracking and a multiplicative duality that corresponds to constraint propagation.
منابع مشابه
IR Renormalons and Fractional Instantons in SUSY Gauge Theories
We study IR-renormalon divergences in N = 1 supersymmetric Yang Mills gauge theories and in two dimensional non linear sigma models with mass gap. We derive, in both types of theories, a direct connection between IRrenormalons and fractional instanton effects. From the point of view of large N dualities we work out a connection between IR-renormalons and c = 1 matrix models.
متن کاملDFIG Based Wind Turbines Behavior Improvement during Wind Variations using Fractional Order Control Systems
This paper is concerned with behavior analysis and improvement of wind turbines with Doubly Fed Induction Generator (DFIG) when using a new fractional-order control strategy during wind variations. A doubly fed induction generator, two types of variable frequency power electronic converters and two input wind waveforms are considered. A fractional-order control strategy is proposed for the wind...
متن کاملA new fractional sub-equation method for solving the space-time fractional differential equations in mathematical physics
In this paper, a new fractional sub-equation method is proposed for finding exact solutions of fractional partial differential equations (FPDEs) in the sense of modified Riemann-Liouville derivative. With the aid of symbolic computation, we choose the space-time fractional Zakharov-Kuznetsov-Benjamin-Bona-Mahony (ZKBBM) equation in mathematical physics with a source to illustrate the validity a...
متن کاملHYBRID OF RATIONALIZED HAAR FUNCTIONS METHOD FOR SOLVING DIFFERENTIAL EQUATIONS OF FRACTIONAL ORDER
Abstract. In this paper, we implement numerical solution of differential equations of frac- tional order based on hybrid functions consisting of block-pulse function and rationalized Haar functions. For this purpose, the properties of hybrid of rationalized Haar functions are presented. In addition, the operational matrix of the fractional integration is obtained and is utilized to convert compu...
متن کاملA New Modification of the Reconstruction of Variational Iteration Method for Solving Multi-order Fractional Differential Equations
Fractional calculus has been used to model the physical and engineering processes that have found to be best described by fractional differential equations. For that reason, we need a reliable and efficient technique for the solution of fractional differential equations. The aim of this paper is to present an analytical approximation solution for linear and nonlinear multi-order fractional diff...
متن کامل